QuitWithStatus
Type
statement
Summary
Quit the application
Syntax
quit [ with status <Status> ]
Description
Exit the program immediately and unconditionally, returning a status number to the operating system. If no status is provided, the default value of 0 is used.
Examples
-- Quit, indicating that the application ran successfully (code 0)
quit
-- Quit, with a specific error code
quit with status 42